<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<html>
	<head>
		<meta http-equiv="content-type" content="text/html;charset=utf-8" />
		<title>Create Users</title>
		<link rel="Stylesheet" href="${rootContext}/includes/${judo_style_css_document}" type="text/css" />
	</head>
	<body>		
		<div id="page">
			<div id="header">
				<jsp:include page="/header.jsp" flush="false"/>
			</div>
			<div id="navcontainer">
				${judo_menu}
			</div>
			<div id="content">
							<h3>Create a New User Account</h3>
							${validation_errors}
			<form method="POST" action="${rootContext}/admin/user_controller/submit_user.do">
			${validateForm}
				<table>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>New Username</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="newUser">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>New Password</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="password" name="newPass">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<tr>
						<td>
							<b>Password Again</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="password" name="passAgain">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					<c:if test="${judo_new_user_prompt_firstName == 'true'}">
					<tr>
						<td>
							<b>Firstname</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="firstname">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					</c:if>
					<c:if test="${judo_new_user_prompt_lastName == 'true'}">
					<tr>
						<td>
							<b>Lastname</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="lastname">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					</c:if>
					<c:if test="${judo_new_user_prompt_email == 'true'}">
					<tr>
						<td>
							<b>Email</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="email">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					</c:if>
					<c:if test="${judo_new_user_prompt_unit == 'true'}">
					<tr>
						<td>
							<b>Unit</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="unit">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					</c:if>
					<c:if test="${judo_new_user_prompt_division == 'true'}">
					<tr>
						<td>
							<b>Division</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="division">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					</c:if>
					<c:if test="${judo_new_user_prompt_title == 'true'}">
					<tr>
						<td>
							<b>Title</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="title">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					</c:if>
					<c:if test="${judo_new_user_prompt_businessPhone == 'true'}">
					<tr>
						<td>
							<b>Businessphone</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="businessphone">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					</c:if>
					<c:if test="${judo_new_user_prompt_cellPhone == 'true'}">
					<tr>
						<td>
							<b>Cellphone</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="cellphone">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					</c:if>
					<c:if test="${judo_new_user_prompt_location == 'true'}">
					<tr>
						<td>
							<b>Location</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="location">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					</c:if>
					<c:if test="${judo_new_user_prompt_street1 == 'true'}">
					<tr>
						<td>
							<b>Street1</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="street1">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					</c:if>
					<c:if test="${judo_new_user_prompt_street2 == 'true'}">
					<tr>
						<td>
							<b>Street2</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="street2">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					</c:if>
					<c:if test="${judo_new_user_prompt_city == 'true'}">
					<tr>
						<td>
							<b>City</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="city">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					</c:if>
					<c:if test="${judo_new_user_prompt_state_prov == 'true'}">
					<tr>
						<td>
							<b>State_prov</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="state_prov">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					</c:if>
					<c:if test="${judo_new_user_prompt_zip == 'true'}">
					<tr>
						<td>
							<b>Zip</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="zip">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					</c:if>
					<c:if test="${judo_new_user_prompt_country == 'true'}">
					<tr>
						<td>
							<b>Country</b>
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="text" name="country">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
					</c:if>
					<tr>
						<td>
							&nbsp;
						</td>
						<td>&nbsp;&nbsp;</td>
						<td>
							<input type="submit" value="Create Account">
						</td>
					</tr>
					<tr>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
						<td>&nbsp;&nbsp;</td>
					</tr>
				</table>
			</form>

			</div>
		</div>
	</body>
</html>
